/*
 * @Author: kenan
 * @Date: 2022-02-07 17:28:51
 * @LastEditors: kenan
 * @LastEditTime: 2022-04-06 14:19:49
 * @FilePath: /smartide-server/web/src/api/github.js
 * @Description: 
 * 
 * Copyright (c) 2022 by kenanlu@leansoftx.com, All Rights Reserved. 
 */
import axios from 'axios'

const service = axios.create()

export function Commits(page) {
  return service({
    url: 'https://api.github.com/repos/SmartIDE/SmartIDE/commits?page=' + page,
    method: 'get'
  })
}

export function Members() {
  return service({
    url: 'https://api.github.com/orgs/SmartIDE/members',
    method: 'get'
  })
}
